package behavioral.observer;

/**
 * @ClassName: Mum
 * @Description: 模拟观察者1：Mum
 * @Author: liu-hao
 * @Date: 2023-04-09 10:40
 * @Version: 1.0
 **/
public class Mum implements Observer {
    public void hug() {
        System.out.println("mum hugging...");
    }

    @Override
    public void actionOnWakeUp(WakeUpEvent event) {
        hug();
    }
}
